import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 导入自己UI组件库
import UI from '@/components/library'

/* import XtxBread from '@/components/library/xtx-bread.vue'
import XtxBreadTtem from '@/components/library/xtx-bread-item.vue'
import XtxButton from '@/components/library/xtx-button.vue'
import XtxCarousel from '@/components/library/xtx-carousel.vue'
import XtxCheckbox from '@/components/library/xtx-checkbox.vue'
import XtxCity from '@/components/library/xtx-city.vue'
import XtxConfirm from '@/components/library/xtx-confirm.vue'
import XtxDialog from '@/components/library/xtx-dialog.vue'
import XtxInfiniteLoading from '@/components/library/xtx-infinite-loading.vue'
import XtxMessage from '@/components/library/xtx-message.vue'
import XtxMore from '@/components/library/xtx-more.vue'
import XtxNumbox from '@/components/library/xtx-numbox.vue'
import XtxPagination from '@/components/library/xtx-pagination.vue'
import XtxSkeleton from '@/components/library/xtx-skeleton.vue'
import XtxStepsItem from '@/components/library/xtx-steps-item.vue'
import XtxSteps from '@/components/library/xtx-steps.vue'
import XtxTabs from '@/components/library/xtx-tabs.vue'
import XtxTabsPanel from '@/components/library/xtx-tabs-panel.vue' */

//重置样式
import 'normalize.css'
//公用样式
import '@/assets/styles/common.less'
const app = createApp(App)

/* app.component('XtxBread', XtxBread)
app.component('XtxBreadTtem',XtxBreadTtem)
app.component('XtxButton',XtxButton)
app.component('XtxCarousel',XtxCarousel)
app.component('XtxCheckbox',XtxCheckbox)
app.component('XtxCity',XtxCity)
app.component('XtxConfirm',XtxConfirm)
app.component('XtxDialog',XtxDialog)
app.component('XtxInfiniteLoading',XtxInfiniteLoading)
app.component('XtxMessage',XtxMessage)
app.component('XtxMore',XtxMore)
app.component('XtxNumbox',XtxNumbox)
app.component('XtxPagination',XtxPagination)
app.component('XtxSkeleton',XtxSkeleton)
app.component('XtxStepsItem',XtxStepsItem)
app.component('XtxSteps',XtxSteps)
app.component('XtxTabs',XtxTabs)
app.component('XtxTabsPanel',XtxTabsPanel) */

app.use(store).use(router).use(UI).mount('#app')
